@charset "UTF-8";
@import "./sassConfig.scss";


// clearfix 清除浮动
.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
 .clearfix{ display: inline-block; }
* html .clearfix{ height: 1%; }
.clearfix { display: block; }

// 医生模块
.people{
    padding: 90px 0;
    background-color: #f6f6f6;
    .img {
        position: relative;
        float: left;
    }
    .content {
        margin-left: 565px;
    }
    .swiper-pagination {
        left: 0;
        right: 0;
        top: 45px;
        span { margin: 0 2px; }
        .swiper-pagination-bullet {
            width: 8px;
            height: 3px;
            background-color: #a0a0a0;
            border-radius: 0;
            opacity: 1;
            filter: alpha(opacity = 100);
        }
        // .swiper-pagination-bullet-active { background: #000000; }
    }
}
.people-info {
    .name {
        position: absolute;
        top: 50%;
        right: 0;
        height: 48px;
        padding: 0 28px;
        margin-top: -24px;
        background: rgba(0, 0, 0, .2);
        line-height: 48px;
        color: #fff;
        font-size: 18px;
    }
    .title { 
        padding-top: 13px;
        font-size: 18px;
    }
    .txt { 
        display: block;
        padding: 12px 0 19px;
        color: $text-gray; 
    }
    .line {
        display: block;
        width: 38px;
        border-top: 1px solid #c5c5c5;
    }
    .dec {
        padding-top: 26px;
        padding-bottom: 22px;
        line-height: 21px;
        color: $text-gray; 
    }
    .link-more {
        margin-left: -13px;
        border: none;
        color: $main-text;
        font-weight: bold;
    }
}

.tab-menu {
    text-align: center;
    a {
        display: inline-block;
        padding: 0 23px;
        margin: 0 4px;
        border: 1px solid #e2e2e2;
        line-height: 32px;
        &.current {
            background-color: $text-gray;
            border-color: $text-gray;
            color: #fff;
        }
    }
}



/* news.php */
.news-list {
    .item {
        padding-bottom: 40px;
        margin-bottom: 40px;
        border-bottom: 1px solid #f1f1f1;
    }
    
}

.news-wrap{
    padding-top: 73px;
    padding-bottom: 73px;
    overflow: hidden;
    .box{
        // display: flex;
        margin-left: -15px;
        margin-right: -15px;
    }
    .item{ 
        // 平均--flex
        // flex: 1;
        float: left;
        width: 25%;
        padding: 0 15px;
        @include webkit(box-sizing,border-box);
    }
    img{
        width: 100%;
        display: block;
    }
    .title{
        padding-top: 25px;
        font-size: 18px;
        @include ell(1);
    }
    time { 
        display: block;
        padding: 12px 0 19px;
        color: $text-gray; 
    }
    .line {
        display: block;
        width: 58px;
        border-top: 1px solid #c5c5c5;
    }
    .dec {
        padding-top: 15px;
        margin-bottom: 22px;
        line-height: 21px;
        color: $text-gray; 
        @include ell(2);
    }
    .link-more {
        opacity: .4;
        filter: alpha(opacity = 40);
    }
}

.crumbs {
    padding: 84px 0;
    background: url(../images/img3.jpg) no-repeat center;
    color: #fff;
    .column-name {
        margin-bottom: 13px;
        font-size: 30px;
    }
    span { padding:0 5px; }
    a { color: #fff; }
}
.category-menu {
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
    li { 
        float: left;
        margin-right: 18px;
    }
    a {
        display: block;
        padding: 0 15px;
        font-size: 14px;
        line-height: 49px;
        margin-bottom: -1px;
        &.current {
            color: $main-color;
            border-bottom: 1px solid $main-color;
        }
    }
}

/*自动分列*/
.row-container {
    overflow: hidden;
    // .row-wrap { @extend %clearfix; }
    div[class^=col-item] {
        float: left;
        @include webkit(box-sizing, border-box);
    }
    &.gutter-15 {
        div[class^=col-item] { padding: 0 15px; }
        .row-wrap { margin: 0 -15px; }
    }
    &.gutter-16 {
        div[class^=col-item] { padding: 0 16px; }
        .row-wrap { margin: 0 -16px; }
    }
    .col-item-3 { width: 25%; }
    .col-item-4 { width: 33.33333%; }
    .col-item-6 { width: 50%; }
    .col-item-12 { width: 100%; }
}
/* 图文内容样式 */
/*news-wrap*/
.figure-content {
    .title {
        font-size: 18px;
        @include ell(1);
    }
    time {
        display: block;
        padding: 11px 0 13px;
        color: $text-gray;
    }
    .line {
        display: block;
        width: 50px;
        border-top: 1px solid #d9d9d9;
    }
    .dec {
        padding-top: 15px;
        margin-bottom: 22px;
        line-height: 22px;
        color: $text-gray;
        @include ell(2);
    }
    .link-more {
        opacity: .4;
        filter: alpha(opacity = 40);
    }
}

/* 页码 pagination*/
.pagination {
    margin-bottom: 120px;
    text-align: center;
    span, a {
        display: inline-block;
        width: 35px;
        height: 35px;
        margin: 0 7px;
        background-color: #f5f5f5;
        text-align: center;
        line-height: 35px;
        font-size: 14px;
        color: #a0a0a0;
    }
    span {
        background-color: $main-color;
        color: #fff;
    }
    &.shop-module {
        a { background-color: #eeeeee; }
    }
}

/* 合作伙伴 */
.partner-lsit{
    .item {
        padding: 0 20px 80px;
        opacity: .6;
        filter: alpha(opacity = 60);
        @include webkit(transition, all .3s ease 0s);
        &:hover {
            opacity: 1;
            filter: alpha(opacity = 100);
        }
    }
    .img {
        display: block;
        border-radius: 8px;
        box-shadow: 0 0 11px 0 rgba(0, 0, 0, .2);
    }
    img { border-radius: 8px; }
    figcaption {
        padding-top: 33px;
        text-align: center;
        @include ell(1);
    }
}

/* 门诊列表 */
.shop-wrap {
    .item {
        position: relative;
        background-color: #fff;
        margin-bottom: 80px;
        @extend .clearfix;
    }
    .item:last-child {
        margin-bottom: 0;
        .content:after { display: none; }
    }
    .item:nth-child(2n) {
        .img-wrap,
        .content { float: right; }
        .shop-logo {
            left: 0;
        }
    }
    .img-wrap,
    .content { 
        float: left;
        width: 50%;
    }
    .content {
        padding: 48px 30px 0;
        @include webkit(box-sizing, border-box);
        &:after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -40px;
            width: 60px;
            margin-left: -30px;
            border-top: 1px solid #dddddd;
        }
    }
    .title { margin-bottom: 18px; }
    .dec { 
        margin-bottom: 18px;
        @include ell(1);
    }
    .img-wrap {
        position: relative;
        .shop-logo {
            display: block;
            position: absolute;
            top: 50%;
            right: 0;
            height: 68px;
            width: 140px;
            background-color: #fff;
            margin-top: -34px;
        }
    }
}

/*公益活动*/
.public-welfare {
    @extend .shop-wrap;
    .item {
        background-color: transparent;
        margin-bottom: 100px;
        &:nth-child(2n) {
            .content {
                left: 0;
                right: auto;
            }
        }
    }
    .content {
        position: absolute;
        top: 73px;
        right: 0;
        bottom: 0;
        // width: 54.3%;
        width: -webkit-calc(50% + 53px);
        padding-left: 50px;
        padding-right: 50px;
        background-color: #fff;
        &:after { display: none; }
    }
    .dec {
        padding-top: 19px;
        font-size: 14px;
        line-height: 30px;
        @include ell(3);
    }
}
.baidu-map {
    width: 100%;
    height: 400px;
}
.content-wrap {
    @extend .clearfix;
    .info {
        float: left;
        width: 400px;
        padding: 37px 0;
        background-color: #f9f9f9;
        text-align: center;
    }
    .title {
        margin-bottom: 29px;
        font-size: 24px;
    }
    .telphone {
        display: inline-block;
        padding: 0 25px;
        margin-top: 10px;
        margin-bottom: 29px;
        background-color: $main-color;
        color: #fff;
        line-height: 44px;
        font-size: 18px;
        border-radius: 50px;
    }
    span { display: block; }
    strong { color: $main-color; }
    p {
        margin-bottom: 20px;
        line-height: 20px;
        &:last-child { margin-bottom: 0; }
    }
}
.message-form {
    margin-left: 500px;
    .title {
        border-top: 1px solid #e3e3e3;
        font-size: 18px;
        text-align: center;
        line-height: 85px;
    }
    .input-item {
        margin-bottom: 26px;
        border-bottom: 1px solid #e3e3e3;
    }
    input,
    textarea {
        width: 100%;
        border: none;
        padding: 12px 13px;
        font-size: 14px;
        @include webkit(box-sizing, border-box);
    }
    textarea { height: 112px; }
    input::-webkit-input-placeholder{ color:#a0a0a0; }
    input::-moz-placeholder{ color:#a0a0a0; }
    input:-moz-placeholder{ color:#a0a0a0; }
    input:-ms-input-placeholder{ color:#a0a0a0; }
    button[type=button] {
        width: 115px;
        height: 40px;
        background-color: #000;
        border: none;
        color: #fff;
        font-size: 16px;
        line-height: 40px;
    }
}
.jobs-banner {
    padding: 108px 0 116px;
    margin: 100px 0;
    background: url(../images/jobs-bg.jpg) no-repeat center;
    background-size: cover;
    color: #fff;
    text-align: center;
    h4 {
        font-size: 55px;
        margin-bottom: 29px;
    }
    p {
        font-size: 24px;
        margin-bottom: 14px;
    }
    span {
        font-size: 14px;
        text-transform: uppercase;
    }
}
.jobs-list {
    header {
        position: relative;
        padding: 0 30px;
        background-color: #f9f9f9;
        border: 1px solid #ebebeb;
        color: #a0a0a0;
        line-height: 43px;
        font-size: 14px;
        span { padding-right: 60px; }
        strong { 
            color: black;
            font-weight: bold;
        }
        &:after {
            content: '+';
            position: absolute;
            right: 15px;
            color: black;
            font-size: 24px;
        }
    }
    section { margin-bottom: 10px; }
    section:last-child { margin-bottom: 0; }
    .show {
        .content { display: block; }
        header:after { content: '-'; }
    }
    .content {
        display: none;
        padding: 23px 32px;
        line-height: 30px;
        color: #7c7c7c;
    }
    .button {
        display: block;
        width: 90px;
        margin: 19px 0 8px;
        background-color: $main-color;
        line-height: 32px;
        color: #fff;
        text-align: center;
        border-radius: 50px;
    }
    .info {
        a { color: #000; }
        span { margin-right: 44px; }
    }
    .mark {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10;
        cursor: pointer;
    }
}
#article-content {
    position: relative;
    padding: 0 85px;
    header {
        padding: 83px 0 30px;
        border-bottom: 1px solid #ececec;
        text-align: center;
        .title {
            margin-bottom: 19px;
            font-size: 30px;
        }
        span {
            margin: 0 9px;
            color: $text-gray;
        }
    }
    section {
        p {
            padding: 18px 0;
            font-size: 15px;
            color: #010101;
            line-height: 35px;
            text-indent: 2em;
        }
        img { max-width: 100%; } // 最终的宽度是100%
    }
    footer {
        padding-top: 74px;
        .link-more {
            margin: 65px auto 73px;
            border-color: #e2e2e2;
            line-height: 29px;
            color: $text-gray;
        }
    }
}
.related {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    display: flex;
    line-height: 38px;
    li { flex: 1; }
    .icon {
        width: 16px;
        height: 16px;
        display: inline-block;
        margin: 0 5px -4px;
        background-image: url(../images/icon001.jpg);
        background-repeat: no-repeat;
    }
    li:first-child {
        i { background-position: left top; }
    }
    li:last-child {
        i { background-position: right top; }
    }
}